<div class="layui-tab layui-tab-brief">
	<ul class="layui-tab-title">
		<li class="layui-this">
      		<a href="{:url('tixian/index')}" class="" id="">待提现列表</a>
   		</li> 
     	<li>
       		<a href="{:url('tixian/indexYtx')}" class="" id="">已提现列表</a>
      	</li> 
 	</ul>
	<div class="layui-tab-content page-tab-content" style="padding: 0;margin: 0;">
   		<div class="layui-tab-item layui-show"> 
      		<div class="layui-form layui-border-box layui-table-view">
      			<div class="layui-table-box"> 
      				<div class="layui-table-body layui-table-main">
      					<table cellspacing="0" cellpadding="0" border="0" class="layui-table">
      						<thead>
      							<tr> 
      								<th>
      									<div class="layui-table-cell"><span>姓名</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>提现金额</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>所属银行</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>开户行</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>开户人</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>卡号</span></div>
      								</th>
      								<th>
      									<div class="layui-table-cell"><span>申请时间</span></div>
      								</th> 
      								<th>
      									<div class="layui-table-cell"><span>操作</span></div>
      								</th>
      							</tr>
      						</thead>
      						<tbody> 
      							{volist name="tx_list" id="v"}
      							<tr> 
      								<td>
      									<div class="layui-table-cell">{$v.dlname}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.txje}</div>
      								</td> 
      								<td>
      									<div class="layui-table-cell">{$v.ssyh}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.kaihy}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.kaihr}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.kahao}</div>
      								</td>
      								<td>
      									<div class="layui-table-cell">{$v.sqsj|date="Y-m-d H:i:s"}</div>
      								</td> 
      								<td class="layui-table-col-special">
      									<div class="layui-table-cell"> 
      										<a href="javascript:;" data-id="{$v.id}" onclick="txsh({$v.id})" class="layui-btn layui-btn-xs layui-btn-normal">确认提现</a>   
      									</div>
      								</td>
      							</tr>
      							{/volist} 				
      						</tbody>
      					</table>
      				</div>
      			</div>
      		</div> 
       	</div>
  	</div>
</div>
<script src="/static/js/jquery.2.1.4.min.js"></script>
<script src="/static/js/layer/layer.js"></script>
<script type="text/javascript">
function txsh(id){
	layer.confirm('您确定已经提现完成？', {
		btn: ['确定','取消'] 
	}, function(){ 
		$.post("{:url('tixian/qrtx')}",{id:id},function(data){
			if(data.code == 1){
				layer.alert(data.msg, {
					skin: 'layui-layer-molv' //样式类名
					,closeBtn: 0
				}, function(){
					window.top.location.href = data.url;
				});
			}else{
				
			}
		})
	}, function(){
		
	});
}
</script>
{include file="block/layui" /}